From 03b6a9b6a09ffbe6c1e0bf2fb80b5cd4ebd5ac84 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fridrich=20=C5=A0trba?= Date: Thu, 2 Sep 2010 15:33:10 +0200 Subject: [PATCH] Oops, make the MS Windows theme really compile. --- modules/engines/ms-windows/xp_theme.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/engines/ms-windows/xp_theme.c b/modules/engines/ms-windows/xp_theme.c index a1ed6b0b11..d23dfea2d8 100755 --- a/modules/engines/ms-windows/xp_theme.c +++ b/modules/engines/ms-windows/xp_theme.c @@ -928,12 +928,11 @@ get_window_dc (GtkStyle *style, cairo_t *cr; cairo_surface_t *crs; gint x_offset, y_offset; - GdkWindowObject *private = (GdkWindowObject *)GDK_DRAWABLE(window); cr = gdk_cairo_create (window); crs = cairo_get_target (cr); - x_offset = -private->abs_x; - y_offset = -private->abs_y; + x_offset = 0; + y_offset = 0; dc_info_out->data = NULL; -- 2.30.2